package com.wanghua.mall.ware.openfeign;

import com.wanghua.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wanghua
 * @create 2021-09-08 15:18
 */
@FeignClient("mall-user")
public interface UserClient {

    /**
     * 获取用户地址信息
     */
    @GetMapping("/user/userreceiveaddress/info/{id}")
    R getAddressInfo(@PathVariable("id") Long id);
}
